import { NgModule } from '@angular/core';
import {LoginComponent} from './login/login.component';
import {RegisterComponent} from './register/register.component';
import {ScanLoginComponent} from './login/scan-login/scan-login.component';
import {AccountLoginComponent} from './login/account-login/account-login.component';
import {PublicModule} from '../public/public.module';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {AuthRoutingModule} from './auth-routing.module';
import {AuthService} from "./auth.service";
import { ProtocolComponent } from './register/protocol/protocol.component';

@NgModule({
  imports: [
    PublicModule,
    FormsModule,
    ReactiveFormsModule,
    AuthRoutingModule
  ],
  exports: [
    AuthRoutingModule
  ],
  providers: [AuthService],
  declarations: [
    LoginComponent,
    RegisterComponent,
    ScanLoginComponent,
    AccountLoginComponent,
    ProtocolComponent,
  ]
})
export class AuthModule { }
